<?php
  
   require "../framework.php";
  
   
  
  //import("compile");
  //compileTemplate();
    //compileCms();
  
  $code = new code();
  //$code->compileTemplate();
  
  global $dataDir;
      $code->compileFile("$dataDir/template/index.html", "/code/template/index.php", true);
            //$code->compileFile("/data/template/admin.html", "/code/template/admin.php", true);
           $code->compileFile("/snapol/admin_template/index.html", "/code/admin_template/index.php", true);  
  
                 
  
  redirect("");  

  
  
?>
